package com.xiao.hao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiao.hao.constant.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @Description 产品计划表 实体类层
 * @Author xiaohao
 * @Date 2025-03-04 11:24:49
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "xh_product", autoResultMap = true)
public class XhProduct extends SuperEntity {
    @ApiModelProperty("主键id")
    @TableId("product_id")
    private Long id;

    @ApiModelProperty("产品名称")
    @TableField("product_name")
    private String productName;

    @ApiModelProperty("产品简介")
    @TableField("product_info")
    private String productInfo;

    @ApiModelProperty("产品规格")
    @TableField("product_specifications")
    private String productSpecifications;

    @ApiModelProperty("产品价格")
    @TableField("product_price")
    private String productPrice;

    @ApiModelProperty("产品图片地址")
    @TableField("product_url")
    private String productUrl;


    @ApiModelProperty("产品跳转链接")
    @TableField("product_url_link")
    private String productUrlLink;


    @ApiModelProperty("每次剂量数量")
    @TableField("each_dose_enum")
    private Integer eachDoseEum;

    @ApiModelProperty("每次剂量枚举")
    @TableField("each_dose")
    private Integer eachDose;

    @ApiModelProperty("用法枚举")
    @TableField("surgical_enum")
    private Integer surgicalEnum;


    @ApiModelProperty("产品指导枚举")
    @TableField("medication_guidance")
    private Integer medicationGuidance;

}



